home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 41.zip
/
BS1 part 41
/
The Director v1.2.adf
/
library
/
planewipe
< prev
next >
Wrap
Text File
|
1988-05-08
|
607b
|
24 lines
REM this is a plane-at-a-time wipe routine
REM to use, include in your script, and then
REM set the variable "plafrom" to be the
REM number of the buffer to wipe from, and then
REM do a GOSUB 9200.
REM uses variables: plaw, plah, plad, plafrom, plac
REM and line number 9200. Also sets FIXPALETTE 0
REM and PLANES -1 when done.
9200 resolution -1,plaw,plah,plad
playb=1:rem plane mask
fixpalette 1
for plac=1 to plad
planes playb
if plac=plad/2:fixpalette 0:endif
wipe plafrom,0,0,0,0,-1,-1,320,(plac-1)%4
playb=playb+playb:rem next plane
next
planes -1
return